package com.itce.arco.practicenote.day01.practice3;

public class Ostrich extends Animal {
    public Ostrich(String name, int age, double weight) {
        super(name, age, weight);
    }

    @Override
    public void work() {
        System.out.println(getName() + "正在动物园上班");
    }
    public void run() {
        System.out.println(getName() + "的奔跑速度是非常快的！");
    }
}
